<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/5/16 0016
 * Time: 16:02
 */
namespace app\admin\model;
use think\Model;

class Coach extends Model{
    protected $table='d_coach';
    public function driver(){
        return $this->hasOne('DriverType','id','driver_id');
    }
}
